﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/// <summary>
/// 这是运行时脚本的基类，rimworld架构下的Entity
/// </summary>
abstract public class Thing
{
    public virtual void Init()
    {

    }

    public virtual void Tick()
    {

    }
    public virtual void TickRare()
    {

    }
}

abstract public class Thing<TDef>: Thing where TDef : ThingDef
{
    public TDef def;
}